home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000150_icon-group-sender _Sun Jul 7 14:05:22 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 8 Jul 1996 08:30:09 MST
  2. From: Michael Edward Maul <maul@cms.uncwil.edu>
  3. Message-Id: <199607071805.AA06614@cms.uncwil.edu>
  4. Subject: loadfunc working w/linux-elf
  5. To: icon-group@cs.arizona.edu
  6. Date: Sun, 7 Jul 1996 14:05:22 -0400 (EDT)
  7. X-Mailer: ELM [version 2.4 PL24]
  8. Mime-Version: 1.0
  9. Content-Type: text/plain; charset=US-ASCII
  10. Content-Transfer-Encoding: 7bit
  11. Content-Length: 1792      
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13. Status: O
  14.  
  15. Linux and Icon users rejoice you can now use loadfunc!!!
  16.  
  17. Sinces the Linux's move to ELF it is now possible to use loadfunc to
  18. load c library functions dynamically. Cool huh?
  19. To do this simple comple iconx with
  20.      -rdynamic  -ldl 
  21. linking options...Also add 
  22.      #define LoadFunc 
  23. to define.h in the config/unix/i386_linux. Basically that is all there is...
  24. Well mabey a little more, All files that you are compiled into the library you
  25. intend to make must be compiled with
  26.      -fPIC 
  27. Finally when building you library you can link with
  28.     gcc -shared -o 
  29.  
  30. Of course I made a patchfile that you can use..instead it sets up changes
  31. to the Icon source config and also gets all the samples and tests in shape
  32. to compile...
  33.  
  34. I'm not sure where I'm gong to up load this to yet, but some places to
  35. try initally are:
  36.      sol.cms.uncwil.edu/Incomming
  37.      cs.arizona.edu/Incomming
  38. From there it should migrate to icon/contrib on both sites.
  39.  
  40. If you want more information on the Linux implementation of ELF, check out
  41. H.J. Lu's ELF:From the Programmers Perspective at
  42. tsx-11.mit.edu/pub/linux/packages/GCC/elf.ps.gz
  43.  
  44. By the way currently I am working on creating an interface to MetalBase  
  45. database. If anyone is interested in it, email me if I get enough intrest
  46. I'll put on the ftp sites....
  47.  
  48. Mike Maul
  49. maul@sol.cms.uncwil.edu
  50. -- 
  51. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  52. Mike Maul          | Intrests/hobbies: hacking (is there really  
  53. CS major (senior)  |                            any thing else)
  54. UNC-Wilmington     | Like what you see? ........Offer me a job!
  55. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  56. E-Mail: maul@sol.cms.uncwil.edu
  57.                WWW: http://www.cms.uncwil.edu/~maul
  58. .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
  59.